import React from 'react'
import { useRoutes } from 'react-router-dom';
import router from './router/index';

function App() {
  //获取路由配置表
  const outlet=useRoutes(router)
  return (
    <div>{outlet}</div>
  )
}

export default App;